package com.terrier.iso
{
	import flash.utils.Dictionary;

    public class IsoWorldLayer
    {
		private var _objectDict:Dictionary = new Dictionary();
		
        public function IsoWorldLayer(id:String, update:Boolean)
        {
			
        }
		
		public function update(elapseTime:Number):void
		{
			for each(var object:IsoObject in _objectDict)
			{
				object.update(elapseTime);
			}
		}
		
		public function addObject(object:IsoObject):void
		{
			_objectDict[object] = object;
		}
		
		public function removeObject(object:IsoObject):void
		{
			delete _objectDict[object]; 
		}
    }
}
